package com.common.vo;

/**
 * @author ltj
 * 
 *         交易项报文对象
 */
public class TradingItem {
	String name;// 交易项名称
	String selfID;
	double ratio;// 交易项赔率

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getRatio() {
		return ratio;
	}

	public void setRatio(double ratio) {
		this.ratio = ratio;
	}

	public String getSelfID() {
		return selfID;
	}

	public void setSelfID(String selfID) {
		this.selfID = selfID;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("{").append("\n");
		sb.append("[name:" + name + "]").append("\n");
		sb.append("[selfID:" + selfID + "]").append("\n");
		sb.append("[ratio:" + ratio + "]").append("\n");
		sb.append("}").append("\n");
		return sb.toString();
	}

}
